//
//  Home_advertisingCell.m
//  pmmSS
//
//  Created by Mac book on 2017/9/18.
//  Copyright © 2017年 WTFSSD. All rights reserved.
//

#import "Home_advertisingCell.h"

@interface Home_advertisingCell()

@property (nonatomic,strong) UIImageView *advertising_imageView;


@end

@implementation Home_advertisingCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{

    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {


        [self initSubViews];
        //[self createUIIcon];
    }
    return self;
}


-(void)initSubViews{


    
}
-(void)layoutSubviews{

    _advertising_imageView  = [[UIImageView alloc]initWithFrame:CGRectMake(0, 0, self.contentView.frame.size.width, autoScaleH(116))];


    [_advertising_imageView setImage:[UIImage imageNamed:@"home_advertising_image"]];

    [self.contentView addSubview:_advertising_imageView];

}

@end
